package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.motong.gongdan.vo.system.otherVo.ProcessRoteProcessVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 工艺路线
 * @author:fff
 * @time:2022/2/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("process_route")
public class ProcessRoute extends PublicPo{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("工艺路线编码")
    private String code;
    @ApiModelProperty("工艺路线名称")
    private String name;
    @TableField("process_list")
    private String processList;

    @TableField(exist = false)
    private String processListName;
    @TableField(exist = false)
    @ApiModelProperty("工序列表")
    private List<ProcessRoteProcessVo> list;

}
